<tbody>

<% _.each(value, function(obj){ %>
<% var index = 0; %>
<% _.each(obj.value, function(roomInfo){ %>
<tr class="roomRow" data-roomTypeId=<%=roomInfo.attributes.roomTypeId%>
    data-roomTypeName=<%=roomInfo.attributes.roomType%>>
    <% if(index == 0){ %>
    <th class="roomTypeName" rowspan=<%=obj.value.length%>>
        <%=roomInfo.attributes.roomType%>
    </th>
    <% } %>
    <td class="roomNum" data-roomId=<%=roomInfo.attributes.roomId%> data-roomNum=<%=roomInfo.attributes.roomNumber%>>
        <%=roomInfo.attributes.roomNumber%>
    </td>
</tr>
<% index++; %>
<% }) %>
<% }) %>

</tbody>